2023年9月20日 — How can I fix this error please?? 'AutoSizer' cannot be used as a JSX component. Its instance type 'AutoSizer' is not a valid JSX element.
Standalone version of the AutoSizer component from react-virtualized - GitHub - bvaughn/react-virtualized-auto-sizer: Standalone version of the AutoSizer ...
Here are some online demos of each component: ArrowKeyStepper · AutoSizer · CellMeasurer · Collection · ColumnSizer · Grid · InfiniteLoader · List · Masonry ...
2022年1月14日 — So the problem here is that the parent node, in that case, the <div> element, should have a height. Take a look at this, its working:
The AutoSizer component decorates a React element and automatically manages width and height properties so that decorated element fills the available space.
The solution to this problem is often to add height: 100% or flex: 1 to the parent. One easy way to test this is to add a style property (eg background-color: ...